package com.weichen.studentgameexchange.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
@Getter
@Setter
@ToString
@TableName("developer")
@Schema(name = "Developer对象", description = "")
public class Developer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 开发商ID，主键
     */
    @Schema(description = "开发商ID，主键")
    @TableId(value = "developer_id", type = IdType.AUTO)
    private Long developerId;

    /**
     * 开发商名字
     */
    @TableField("developer_name")
    @Schema(description = "开发商名字")
    private String developerName;

    /**
     * 游戏名字
     */
    @TableField(exist = false)
    @Schema(description = "游戏名字")
    private String gameName;

}
